<?php

/**
 * CallbackAction - Default callback action for list of fields
 *
 * @package
 * @author Alexis Eric, 
 * Erra Prod. http://www.erraprod.com
 * @copyright Copyright (c) 2012 - Erra Prod
 * @access public
 */
class CallbackAction extends Erra_System_CallbackAction {
    /** /
     * A custom callback function for a field list
     * @return type 
     */
    public static function customCallback() {
        $postArray = Erra_System_FormRenderer::getFieldPostData();
        $objectProperties = self::getSelectedObjectProperties($postArray);
        $objects = self::getSelectedObjectList($objectProperties);
        // Custom callback starts here
 
        // Custom callback ends here
        return self::REFRESH_FIELD_LIST($postArray, array('info' => 'Custom callback response'), $objects);
    }

}

?>
